<template>
	<view class="operate-guide">

		<div class="guideIist">
			<div class="guideItem" v-for="(item, index) in guideList" :key="index" @click="toGuideDetail(item)">
				<p>{{ item.title }}</p>
				<image src="/static/mine/jiantou.png" mode=""></image>
			</div>
		</div>
		<u-loadmore :status="status" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				status: 'nomore',
				guideList: [
					{
						id:'1',
						title: '如何快速找房？'
					},
					{
						id:'2',
						title: '如何查看该栋楼的所有待租套间？'
					},
					{
						id:'3',
						title: '如何和房东签约合同？'
					},
					{
						id:'4',
						title: '如何查看租凭电子合同？'
					}
				]
			}
		},
		methods: {
			toGuideDetail (item) {
				uni.navigateTo({
					url:'/pages/mine/guideDetail?id=' + item.id
				})
			},
			goBack() {
				uni.navigateBack({ delta: 1 });
			}
		}
	}
</script>

<style lang="scss" scoped>
.custom-nav-bar {
	height: 50px; /* 导航栏高度 */
	display: flex;
	align-items: center;
	color: #000;
	padding: 30px 16px 16px 16px;
}
.nav-back {
	flex: 0 0 auto;
	cursor: pointer;
	image{
		width: 12px;
		height: 24px;
		// padding-left: 16px;
	}
}
.nav-title {
	flex: 1 1 auto;
	text-align: center;
	font-family: PingFangSC, PingFang SC;
	font-weight: 500;
	font-size: 17px;
	color: #000000;
}
.guideIist{
	.guideItem{
		width: 82%;
		padding: 16px 20px;
		margin: 20px auto;
		background: #FFFFFF;
		box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.01);
		border-radius: 12px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		p{
			font-family: PingFangSC, PingFang SC;
			font-weight: 500;
			font-size: 13px;
			color: #222222;
		}
		image{
			width: 16px;
			height: 16px;
		}
	}
}
</style>
